<template>
    <div class="error-page">
        <strong>对不起，出错了。。。</strong>
        <img :src="url" alt="...">
    </div>
</template>

<script>
    import errorPng from '../../../public/assets/img/error.png'

    export default {
        name: "app",
        data() {
            return {
                url: errorPng
            }
        }
    }
</script>

<style scoped>
    .error-page {
        background: #f8f8ff;
        height: 100%;
        width: 100%;
        position:absolute;
        top:0;
        left:0;
        text-align: center;
    }

    .error-page > img {
        margin-top: 200px;
    }
</style>
